package com.zoe.vhr.service;

import com.zoe.vhr.model.Hr;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/07/26
 * @Description HrService
 */
public interface HrService extends UserDetailsService {
    List<Hr> listAllHrs(Hr hr);

    int updateHr(Hr hr);

    int updateHrWithRole(Integer hrId, Integer[] roleIds);

    int saveHr(Hr hr, MultipartFile multipartFile);
}
